<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<link rel="stylesheet" href="css/styleauto.css" type="text/css">
<script type="text/javascript" src="js/onload.js"></script>
<script type="text/javascript" src="js/click.js"></script>

<body>
	<div
		style="width: 970px;height: 320px;margin-top: 10px;margin-left: 170px;"></div>
	<!-- 对于css来说 class为notice  所以为.notice -->
	<div id="notice" class="notice">
		<!-- 这是标题栏 -->
		<div id="notice-title" class="notice-title">
			<ul>
				<li class="select"><a href="usertext_findUserTextALL"
					title="点击可以进行刷新任务">全部</a>
				</li>
				<li><a href="usertext_findUserTextALL" title="点击可以进行刷新任务">生活</a>
				</li>
				<li><a href="usertext_findUserTextALL" title="点击可以进行刷新任务">学习</a>
				</li>
				<li><a href="usertext_findUserTextALL" title="点击可以进行刷新任务">跑腿</a>
				</li>
			</ul>
		</div>
		<div id="notice-con" class="notice-con">
			<div class="condiv" style="display:block">
				<s:if test="#session.userTextAllList!=null">
					<s:iterator value="#session.userTextAllList" var="t">
						<ul>
							<li><a
								href="usertext_catchTaskByUserCompany?userText.textId=${t.textId}&&userText.userByUserSendId.userId=${t.userByUserSendId.userId}"
								class="catch" id="${t.textId}">求助内容:${text}&nbsp;&nbsp;
									信用值:${transPoint}&nbsp;&nbsp; 有效截止至:<fmt:formatDate
										value="${limitDate}" pattern="yyyy-MM-dd HH:mm" /> </a> <input
								type="hidden" value="${userByUserSendId.userName}" id="username" />
								<input type="hidden" value="${userByUserSendId.userTel}"
								id="tel" />
							</li>
						</ul>
					</s:iterator>
				</s:if>
			</div>
			<div class="condiv" style="display:none">
				<s:if test="#session.userTextAllList!=null">
					<s:iterator value="#session.userTextAllList" var="t">
						<s:if test="#t.type.typeId==1">
							<ul>
								<li><a
									href="usertext_catchTaskByUserCompany?userText.textId=${t.textId}&&userText.userByUserSendId.userId=${t.userByUserSendId.userId}"
									class="catch" id="${t.textId}">求助内容:${text}&nbsp;&nbsp;
										信用值:${transPoint}&nbsp;&nbsp; 有效截止至:<fmt:formatDate
											value="${limitDate}" pattern="yyyy-MM-dd HH:mm" /> </a> <input
									type="hidden" value="${userByUserSendId.userName}"
									id="username" /> <input type="hidden"
									value="${userByUserSendId.userTel}" id="tel" />
								</li>
							</ul>
						</s:if>
					</s:iterator>
				</s:if>
			</div>
			<div class="condiv" style="display:none">
				<s:if test="#session.userTextAllList!=null">
					<s:iterator value="#session.userTextAllList" var="t">
						<s:if test="#t.type.typeId==2">
							<ul>
								<li><a
									href="usertext_catchTaskByUserCompany?userText.textId=${t.textId}&&userText.userByUserSendId.userId=${t.userByUserSendId.userId}"
									class="catch" id="${t.textId}">求助内容:${text}&nbsp;&nbsp;
										信用值:${transPoint}&nbsp;&nbsp; 有效截止至:<fmt:formatDate
											value="${limitDate}" pattern="yyyy-MM-dd HH:mm" /> </a> <input
									type="hidden" value="${userByUserSendId.userName}"
									id="username" /> <input type="hidden"
									value="${userByUserSendId.userTel}" id="tel" />
								</li>
							</ul>
						</s:if>
					</s:iterator>
				</s:if>
			</div>
			<div class="condiv" style="display:none">
				<s:if test="#session.userTextAllList!=null">
					<s:iterator value="#session.userTextAllList" var="t">
						<s:if test="#t.type.typeId==3">
							<ul>
								<li><a
									href="usertext_catchTaskByUserCompany?userText.textId=${t.textId}&&userText.userByUserSendId.userId=${t.userByUserSendId.userId}"
									class="catch" id="${t.textId}">求助内容:${text}&nbsp;&nbsp;
										信用值:${transPoint}&nbsp;&nbsp; 有效截止至:<fmt:formatDate
											value="${limitDate}" pattern="yyyy-MM-dd HH:mm" /> </a> <input
									type="hidden" value="${userByUserSendId.userName}"
									id="username" /> <input type="hidden"
									value="${userByUserSendId.userTel}" id="tel" />
								</li>
							</ul>
						</s:if>
					</s:iterator>
				</s:if>
			</div>
		</div>
	</div>
	<s:debug></s:debug>
</body>
</html>